﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="statistics.aspx.cs" Inherits="Web4Comment.statistics" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <meta name="Generator" content="iWeb 3.0.4" />
    <meta name="iWeb-Build" content="local-build-20120101" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="viewport" content="width=1050" />
    <title>statistics</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="activity_files/activity.css" />
    <!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='activity_files/activityIE.css'/><![endif]-->
    <!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]-->
    
  </head>
  <body style="background: rgb(251, 251, 251); margin: 0pt;">
    <div style="text-align: center; ">
      <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word;  text-align: left; width: 1050px; " id="body_content">
       <form id="statisticsForm" runat="server">
        <div style="background: transparent url(activity_files/backgroundimage_1_1.png) no-repeat scroll center center; width: 1050px; ">
          <div style="float: left; margin-left: 0px; position: relative; width: 1050px; z-index: 0; " id="nav_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div>
          </div>
          <div style="float: left; height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 10; " id="header_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
          <div style="margin-left: 0px; position: relative; width: 1050px; z-index: 5; " id="body_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            


            <div style="height: 20px; width: 66px;  height: 20px; left: 922px; position: absolute; top: 41px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="activity_files/about.gif" alt="" style="border: none; height: 20px; width: 66px; " />
            </div>
            
            <div style="height: 20px; width: 66px;  height: 20px; left: 900px; position: absolute; top: 70px; width: 88px; z-index: 1; text-align: center;" 
                  class="tinyText style_SkipStroke stroke_0">
              <asp:LinkButton ID="userLinkButton" runat="server" PostBackUrl="~/profile.aspx">用户</asp:LinkButton>|
              <asp:LinkButton ID="logoutLinkButton" runat="server" PostBackUrl="~/logout.aspx">登出</asp:LinkButton>
            </div>



            <div style="height: 21px; width: 65px;  height: 21px; left: 772px; position: absolute; top: 40px; width: 65px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="activity_files/any.gif" alt="" style="border: none; height: 21px; width: 65px; " />
            </div>
            


            <div style="height: 21px; width: 66px;  height: 21px; left: 685px; position: absolute; top: 40px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="friends.aspx" target="_self">
              <img src="activity_files/friends.gif" alt="" 
                    style="border: none; height: 21px; width: 66px; " usemap="friends.aspx" />
                    </a>
            </div>
            


            <div style="height: 19px; width: 44px;  height: 19px; left: 620px; position: absolute; top: 41px; width: 44px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="main.aspx" target="_self">
              <img src="activity_files/main.gif" alt="" 
                    style="border: none; height: 19px; width: 44px; " />
                </a>
            </div>
            


            <div style="height: 19px; width: 41px;  height: 19px; left: 859px; position: absolute; top: 41px; width: 41px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="link.aspx" target="_self">
              <img src="activity_files/sns.gif" alt="" style="border: none; height: 19px; width: 41px; " />
              </a>
            </div>
            


            <div style="height: 49px; width: 224px;  height: 49px; left: 64px; position: absolute; top: 26px; width: 224px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="activity_files/logo.gif" alt="" style="border: none; height: 49px; width: 224px; " />
            </div>
            
            <div id="id1" 
                  style="height: 422px; left: 125px; position: absolute; top: 111px; width: 859px; z-index: 1; " 
                  class="style_SkipStroke_1 shape-with-text">
              <div class="text-content graphic_shape_layout_style_default_External_526_422" 
                    style="padding: 0px; top: 0px; left: 0px; width: 861px;">
                <div class="graphic_shape_layout_style_default">
                    <table style="width:100%;">
                        <tr>
                            <td>
                                <asp:Chart ID="FriendChatTime" runat="server" DataSourceID="FCTDS" 
                                    RightToLeft="Yes" Height="200px" Width="200px">
                                    <Series>
                                        <asp:Series ChartType="Bar" Name="Series1" XValueMember="username" 
                                            YValueMembers="secondsInterval">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                            </td>
                            <td>
                                <asp:Chart ID="FriendChatWords" runat="server" DataSourceID="FCWDS" 
                                    RightToLeft="Yes" Height="200px" Width="200px">
                                    <Series>
                                        <asp:Series ChartType="Bar" Name="Series1" XValueMember="reply_username" 
                                            YValueMembers="words">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                            </td>
                            <td rowspan="3">
                                <asp:Chart ID="TotalTime" runat="server" 
                                    DataSourceID="TDS" RightToLeft="Yes">
                                    <Series>
                                        <asp:Series Name="Series1" ChartType="Pie" XValueMember="time_type" 
                                            YValueMembers="total" Legend="Legend1">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Legends>
                                        <asp:Legend Name="Legend1">
                                        </asp:Legend>
                                    </Legends>
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:SqlDataSource ID="FCTDS" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:UnlessCommentConnectionString %>" 
                                    SelectCommand="<%=FCTsql %>">
                                </asp:SqlDataSource>

                            </td>
                            <td>
                                <asp:SqlDataSource ID="FCWDS" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:UnlessCommentConnectionString %>" 
                                    SelectCommand="<%=FCWsql %>"></asp:SqlDataSource>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Chart ID="NewsRead" runat="server" Height="200px" Width="200px" 
                                    DataSourceID="RHDS">
                                    <Series>
                                        <asp:Series ChartType="Bar" Name="Series1" XValueMember="catalog_name" 
                                            YValueMembers="total">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>

                            </td>
                            <td>
                                <asp:Chart ID="NewsReadTime" runat="server" Height="200px" Width="200px" 
                                    DataSourceID="RNTDS">
                                    <Series>
                                        <asp:Series ChartType="Bar" Name="Series1" XValueMember="catalog_name" 
                                            YValueMembers="total">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:SqlDataSource ID="RHDS" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:UnlessCommentConnectionString %>" 
                                    SelectCommand="<%=RHsql %>"></asp:SqlDataSource>
                            </td>
                            <td>
                                <asp:SqlDataSource ID="RNTDS" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:UnlessCommentConnectionString %>" 
                                    SelectCommand="<%=RNTsql %>"></asp:SqlDataSource>
                            </td>
                            <td>
                                <asp:SqlDataSource ID="TDS" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:UnlessCommentConnectionString %>" 
                                    SelectCommand="<%=Tsql %>"></asp:SqlDataSource>
                            </td>
                        </tr>
                    </table>

                </div>
              </div>
            </div>


            


            <div style="height: 650px; line-height: 650px; " class="spacer">
                
                 </div>
          </div>
          <div style="height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 15; " id="footer_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
        </div>
      </div>
    </div>
   </form>
  </body>
</html>



